<?php

namespace YouBaoLian\Application\Request;

use YouBaoLian\Application\Response\VehicleVerifySmsCodeResponse;

class VehicleVerifySmsCodeRequest extends Request
{

    /**
     * 报价配置ID
     * @var int $configId
     */
    private $configId = 0;

    /**
     * 报价单ID
     * @var int $priceItemId
     */
    private $priceItemId = 0;

    /**
     * 短信验证码
     * @var string $verificationCode
     */
    private $verificationCode = '';

    protected $method = 'iebcVehicle.verifySmsCode';

    protected $response = VehicleVerifySmsCodeResponse::class;

    public function getBizContent(): array
    {
        return [
            'configId' => $this->configId,
            'priceItemId' => $this->priceItemId,
            'verificationCode' => $this->verificationCode
        ];
    }

    /**
     * @param int $configId
     */
    public function setConfigId(int $configId): void
    {
        $this->configId = $configId;
    }

    /**
     * @param int $priceItemId
     */
    public function setPriceItemId(int $priceItemId): void
    {
        $this->priceItemId = $priceItemId;
    }

    /**
     * @param string $verificationCode
     */
    public function setVerificationCode(string $verificationCode): void
    {
        $this->verificationCode = $verificationCode;
    }
}
